* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-size: 100% auto;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    line-height: 1.2;
    min-width: 360px;
    overflow-x: hidden;
    background-color: #EFEEF4;
}

a {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    text-decoration: none;
}

ul {
    list-style: none;
}

img,
svg {
    border: none;
    line-height: 0;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

.scroll-lock {
    overflow: hidden !important;
}

.wrap {
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

/** Главная */

.top-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2px;
}

.created-by {
    color: #76757B;
    font-size: 13px;
    text-align: center;
    background-color: #F6F6F9;
    border-radius: 0 0 14px 14px;
    padding: 7px 15px;
}

.created-by a {
    color: #037ee5e3;
    text-decoration: underline;
}

.created-by a:hover {
    outline: none;
    text-decoration: none;
}

.nav-wrap {
    margin: 0px 0 12px;
    position: relative;
    overflow-x: auto;
}

.nav {
    align-items: center;
    background-color: #EFEEF4;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 11px -10px rgba(0,0,0,0);
    display: flex;
    height: 50px;
    overflow-x: auto;
    padding: 0 8px;
    scroll-snap-type: none;
    -ms-overflow-style: none;
    position: relative;
    user-select: none;
    scrollbar-width: none;
    /*transition: all 0.1s ease-out 0.1s;*/
}

.nav-wrap.is-affixed .nav {
    height: 50px;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav div {
    color: #908F95;
    font-weight: 500;
}

div.active {
    color: #000;
}

div.active + div.active {
    color: #908F95;
}

.caption-item-checkbox div.active {
    color: #000000; 
}

.nav span {
    align-items: center;
    font-size: 13px;
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    line-height: 0;
    height: 36px;
    justify-content: center;
    padding: 0 17px;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
    z-index: 2;
}

.nav-overlay {
    background-color: #FFFFFF;
    border-radius: 10px;
    position: absolute;
    left: 15px;
    height: 38px;
    transform: translateX(0px);
    transition:  all 0.1s ease-out 0.01s;
    z-index: 1;
}

.squeeze {
    transform: scale(0.9);
    transition: all 1.5s;
}

.catalog-container {
    min-height: 100vh;
    padding-bottom: 120px;
    box-sizing: content-box;
}

.catalog-item-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 4px;
}

.text-red {
    color: #F1222E !important;
}

.cart-item-error {
    position: relative;
}

.cart-item-error .cic-count {
    color: #F1222E;
}

.cart-item-error .cic-minus svg rect {
    fill: #F1222E;
}

.cart-item-tooltip {
    display: none;
    font-weight: 500;
    line-height: 20px;
    color: #fff;
    white-space: nowrap;
    height: 22px;
    background-color: #F1222E;
    padding: 0 10px;
    border-radius: 5px;
    position: absolute;
    top: 30px;
    right: 30px;
}

.cart-item-tooltip::after {
    display: block;
    content: '';
    background-color: #F1222E;
    width: 5px;
    height: 5px;
    position: absolute;
    top: -2px;
    right: 12px;
    transform: rotate(45deg);
}

.cart-item-error .cart-item-tooltip {
    display: block;
}

.catalog-item-title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 15px;
    padding: 0 17px;
    width: 100%;
}

.catalog-item {
    background-color: #ffffff;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 4px 8px;
    padding: 6px 6px 6px 6px;
    width: calc(50% - 8px);
}

.d-none {
    display: none;
}

.cart-bg {
    background-color: #ffffff;
    border-radius: 13px;
    margin: 0 15px 120px;
    padding: 4px 0px 0px 0px;
    width: calc(100% - 30px);
}

.disabled {
    opacity: .5;
}

.cart-bg-text {
    text-align: center;
    padding: 20px 10px;
}

.ci-thumb {
    margin-bottom: 6px;
    width: 100%;
}

.ci-thumb img {
    border-radius: 15px 15px 7px 7px;
}

.ci-name {
    font-size: 13px;
    word-break: break-all;
    margin-bottom: 5px;
    padding: 0 5px;
    width: 100%;
    overflow: hidden;
}

.ci-weight {
    color: #908F95;
    font-size: 12px;
    min-height: 15px;
    margin-bottom: 16px;
    padding: 0 5px;
    width: 100%;
}

.ci-price-counter {
    margin-top: auto;
    user-select: none;
    padding: 0 0 1px 0;
    width: 100%;
}

.ci-price {
    align-items: center;
    background-color: #f3f2f7;
    border-radius: 11px;
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 0;
    justify-content: center;
    height: 34px;
}

.ci-price.touched {
    background-color: #e3e3e3;
    outline: none;
}

.ci-counter-wrap {
    align-items: center;
    background-color: #f6f5fa;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.2;
    height: 34px;
    justify-content: space-between;
    overflow: hidden;
}

.ci-counter-wrap svg {
    width: 12px;
}

.cic-minus,
.cic-plus {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 40px;
}

.cic-minus {
    box-shadow: inset 55px 0 20px -22px rgba(0,0,0,0);
    padding-left: 13px;
}

.cic-minus.touched {
    box-shadow: inset 40px 0 15px -20px #e3e3e39c;
    outline: none;
}

.cic-plus {
    box-shadow: inset -55px 0 20px -22px rgba(0,0,0,0);
    justify-content: flex-end;
    padding-right: 13px;
}

.cic-plus.touched {
    box-shadow: inset -40px 0 15px -20px #e3e3e39c;
    outline: none;
}

.cic-count {
    font-weight: 500;
}

.go-to-order-wrap {
    font-size: 13px;
    text-align: center;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 -6px 16px -16px #ababab;
    border-radius: 14px 14px 0 0;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -1px auto;
    max-width: 480px;
    padding: 9px 12px 9px 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    user-select: none;
    width: 100%;
    z-index: 101;
}

.gto-price {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    margin-right: 18px;
    line-height: 100%;
    margin-top: 10px;
}

.gto-price span {
    color: #000000;
    display: block;
    font-weight: 500;
    font-size: 12px;
}

.gto-btn {
    flex-grow: 2;
}

.gto-btn a {
    background-color: #5E30EB;
    color: #ffffff;
    display: block;
    border-radius: 12px;
    border: 1px solid #5E30EB;
    font-size: 15px;
    font-weight: 500;
    padding: 14px;
    text-align: center;
}

.gto-btn a.touched {
    background-color: #572cdb;
    outline: none;
}

.product-view-wrap {
    visibility: hidden;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
}

.product-view-wrap.active .cross-item {
    display: flex;
}

.product-view-wrap.active .product-count-wrap {
    display: block;
}

.product-view-bg {
    opacity: 0;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .5s;
}

.product-view {
    position: relative;
    background-color: #fff !important;
    box-shadow: 0 10px 20px -7px #000;
    height: 100vh;
    margin: 0 auto;
    max-width: 420px;
    min-width: 100%;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .5s;
}
 
.product-view-data {
    padding: 0 0 100px;
    height: calc(100vh - 75px);
    overflow-x: hidden;
}

.product-view-data-img-box {
    display: flex;
    justify-content: center;
    height: 338px;
    overflow: hidden;
}

.product-view-data-image {
    display: block;
    visibility: hidden;
}

.product-view-data-image.square {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-view-data-image.vertical-rectangle {
    width: auto;
    height: 100%;
}

.product-view-data-image.horizontal-rectangle {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.product-view-data-image.active {
    visibility: visible;
}

.product-description {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 15px;
}

.delivery-description {
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 0 0 6px;
}

.caption-item-wrap {
    padding: 0 0 0 15px;
}

.caption-label {
    color: #908F95;
    font-size: 12px;
    margin: 32px 0 7px;
}

.caption-item {
    cursor: pointer;
    font-size: 14px;
    padding: 17px 0 17px 38px;
    position: relative;
    user-select: none;
}

.caption-item.active {
    font-weight: 400;
}

.caption-item::before {
    background-color: #ecebf2;
    border-radius: 50%;
    content: '';
    height: 22px;
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
}

.caption-item.active::before {
    background: #1fb73a url("./img/check.svg") no-repeat center 6px;
    background-size: 11px auto;
}

.caption-item::after {
    height: 1px;
    position: absolute;
    bottom: 0;
    right: -15px;
    width: calc(100% - 24px);
    z-index: 0;
}

.caption-item-checkbox .caption-item::before {
    border-radius: 25%;
}

.caption-item-checkbox .caption-item.active::before {
    background: #5E30EB url("./img/check.svg") no-repeat center 6px;
    background-size: 11px auto;
}

.caption-item span {
    color: #908F95;
}

.product-count-wrap {
    display: none;
    background-color: #fff;
    box-shadow: 0 -6px 16px -18px #9d9d9d;
    padding: 12px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    margin: -1px auto;
}

.pcw-head {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pcw-btn-group {
    display: flex;
    flex-wrap: wrap;
}

.pcw-count-wrap {
    align-items: center;
    background: #f3f2f7;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 500;
    justify-content: space-between;
    margin-right: 10px;
    padding: 13px;
    width: 107px;
}

.pcw-count-wrap .pcw-minus,
.pcw-count-wrap .pcw-plus {
    align-items: center;
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    justify-content: center;
}

.pcw-count-wrap svg {
    width: 14px;
}

.price-product-card {
    margin-right: 15px;
    display: flex;
    font-size: 20px;
    font-weight: 600;
    align-items: center;
}

.title-product-card {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0 12px;
    padding: 0 17px;
    width: 100%;
}

.weight-product-card {
    font-size: 20px;
    font-weight: 600;
    color: #908F95;
}




/** Корзина */

.page-title {
    font-size: 12px;
    font-weight: 400;
    margin: 18px 0 10px;
    padding: 0 25px;
    text-transform: uppercase;
    color: #76757B;
    letter-spacing: 0.015em;
}

.page-title-flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.cart-empty {
    width: 21px;
    height: 21px;
    background: url('img/cart.svg') no-repeat center / 100%;
    border: none;
}

.cart-item-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 0 13px;
    margin-bottom: 8px;
    margin-top: 9px;    
}

.cart-item-thumb {
    margin-right: 12px;
}

.cart-item-thumb img {
    border-radius: 9px;
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.cart-item-data {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    padding-bottom: 17px;
    justify-content: space-between;
    position: relative;
    width: calc(100% - 78px);
}

.cart-item-data::after {
    border-bottom: 1px solid #f0f0f0;
    content: '';
    height: 1px;
    position: absolute;
    right: -21px;
    bottom: 0;
    width: calc(100% + 21px);
}

.cart-item-row:last-child .cart-item-data::after {
    display: none;
}

.cart-item-label {
    margin-right: 0;
    padding-top: 5px;
    width: calc(100% - 92px);
}

.cart-item-caption {
    color: #9b9b9b;
    font-size: 12px;
    margin-top: 5px;
}

.cart-item-label span {
    display: block;
    margin-top: 4px;
}

.cart-item-counter {
    align-items: center;
    background-color: #f3f2f7;
    border-radius: 9px;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 0;
    justify-content: space-between;
    height: 34px;
    margin: 5px -8px 0 0;
    /* overflow: hidden; */
    width: 100px;
}

.cart-item-counter svg {
    width: 10px;
}

.cart-item-counter .cic-minus {
    padding-left: 11px;
}

.cart-item-counter .cic-plus {
    padding-right: 11px;
}

.cart-promocode-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: -109px;
    padding: 0 25px;
}

.cart-promocode-btn {
    font-size: 14px;
    color: #76757B;
    background-color: transparent;
    border: none;
    border-bottom: 1px dashed #A4A4A9;
}

.cart-promocode-btn-green {
    color: #5E30EB;
    border-bottom-color: #5a2ee1;
}

.modal-container {
    display: none;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    padding: 100px 15px;
    background-color: rgba(0,0,0,.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
}

.modal-container.active {
    display: flex;
}

.modal {
    flex: 0 1 100%;
    padding: 20px 16px 16px;
    background-color: #fff;
    border-radius: 12px;
}

.modal .form-group {
    margin-bottom: 20px;
}

.modal .form-group:last-child {
    margin-bottom: 0;
}

.modal .form-input {
    font-family: 'Inter';
    font-size: 14px;
    width: 100%;
    padding: 12px 7px;
    border: none;
    border-bottom: 1px solid #E4E4E4;
    border-radius: 0;
}

.modal .form-input::placeholder {
    color: #C6C6C6;
}

.modal .form-input:focus {
    outline: none;
}

.modal .modal-form-btn {
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    color: #fff;
    background-color: #5E30EB;
    padding: 15px;
    border: none;
    border-radius: 12px;
}

.modal .error-text {
    font-size: 14px;
    color: #FF0000;
    margin-top: 10px;
}

/** Страница заказа */

.order-form {
    padding: 20px 15px 220px;
}

.order-form .choise-btn {
    background-color: #fff;
}

.order-form-select-group .choise-btn {
    margin-bottom: 0;
    border-radius: 0;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.order-form-select-group .choise-btn:not(.choise-btn option) {
    padding-left: 62px;
    padding-right: 16px;
}

.order-form-select-group .choise-btn-label {
    display: block;
}

.order-form-select-group .order-choise-btn-label:first-child {
    position: relative;
}

.order-form-select-group .order-choise-btn-label:first-child .choise-btn {
    border-radius: 10px 10px 0 0;
    background: url('./img/delivery.svg') no-repeat 16px center / 30px 30px,
                url('./img/chevron-right.svg') no-repeat calc(100% - 16px) center / 15px 15px;
    background-color: #fff;
}

.order-form-select-group .order-choise-btn-label:first-child::after {
    display: block;
    content: '';
    width: calc(100% - 62px);
    height: 1px;
    background-color: #E2E2E2;
    position: absolute;
    right: 0;
    bottom: 0;
}

.order-form .delivery-description {
    margin-top: 10px;
    padding-top: 0;
    padding-left: 13px;
    color: #76757B;
}

.order-form-select-group .order-choise-btn-label:last-child .choise-btn {
    border-radius: 0 0 10px 10px;
    background: url('./img/payment.svg') no-repeat 16px center / 30px 30px,
                url('./img/chevron-right.svg') no-repeat calc(100% - 16px) center / 15px 15px;
    background-color: #fff;
}

.order-form .page-title {
    margin: 24px 0 10px;
    padding: 0;
    padding-left: 13px;
}

.form-field {
    position: relative;
}

.order-form input,
.order-form label {
    display: block;
}

.form-group-section {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.order-form .formInput {
    background-color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    padding: 13px 16px;
    width: 100%;
}

.order-form .formInput::placeholder {
    color: #C6C6C6;
}

.order-form .formInput.error::placeholder {
    color: #F1222E;
}

.order-form input:focus {
    outline: none;
}

.order-form .form-group {
    position: relative;
}

.order-form .form-group:after {
    display: block;
    content: '';
    width: calc(100% - 16px);
    height: 1px;
    background-color: #E2E2E2;
    position: absolute;
    right: 0;
    bottom: 0;
}

.order-form .form-group:last-child::after {
    display: none;
}

.choise-btn {
    align-items: center;
    color: #000;
    border-radius: 10px;
    font-size: 14px;
    margin: 0 0 25px 0;
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 45px;
    padding: 5px 20px;
    position: relative;
    user-select: none;
    transition: all 0.2s;
    appearance: none;
    background: url("../img/arrow.svg") no-repeat calc(100% - 20px) center #f3f2f7;
    background-size: 21px auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.choise-btn:focus {
    outline: none;
}

.choise-btn.touched {
    background-color: #e6e6e6;
    outline: none;
}

.choise-delivery-btn {
    align-items: center;
    background-color: #fff;
    background-size: 30px auto;
    border-radius: 11px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 45px;
    padding: 5px 20px;
    position: relative;
    user-select: none;
    transition: all 0.2s;
}

.choise-delivery-btn::after {
    background: url("./img/arrow.svg") no-repeat calc(100% - 20px) center;
    background-size: 21px auto;
    content: '';
    height: 45px;
    position: absolute;
    right: -8px;
    top: 0;
    transform: rotate(-90deg);
    width: 60px;
    z-index: 1;
}

.choise-delivery-btn.touched {
    background-color: #e6e6e6;
    outline: none;
}

.choise-delivery-btn img {
    margin-right: 9px;
    width: 21px;
}

.three-form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.three-form-group .form-group {
    width: 31%;
}

.choise-payment-btn {
    align-items: center;
    background-color: #f0f0f0;
    background-size: 10px auto;
    border-radius: 11px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 45px;
    padding: 5px 17px;
    position: relative;
    user-select: none;
    transition: all 0.2s;
}

.choise-payment-btn::after {
    background: url("./img/arrow.svg") no-repeat calc(100% - 20px) center;
    background-size: 21px auto;
    content: '';
    height: 53px;
    position: absolute;
    right: -8px;
    top: 0;
    transform: rotate(-90deg);
    width: 60px;
    z-index: 1;
}

.choise-payment-btn.touched {
    background-color: #e6e6e6;
    outline: none;
}

.choise-payment-btn img {
    margin-right: 8px;
    width: 24px;
}

.choise-item-order {
    background-color: rgba(0,0,0, 0.8);
    display: none;
    height: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    user-select: none;
    width: 100%;
    z-index: 101;
}

.choise-item-type {
    background-color: #ffffff;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 10px 20px -7px #000;
    margin: 0 auto;
    max-width: 420px;
    padding: 10px 0 89px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.2s;
    z-index: 101;
}

.choise-item-type::before {
    background-color: #ffffff;
    border-radius: 25px;
    content: '';
    height: 5px;
    position: absolute;
    left: calc(50% - 25px);
    top: -13px;
    width: 50px;
    z-index: 1;
}

.choise-item-type.hide {
    bottom: -100%;
}

.choise-type-item {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    padding-left: 15px;
}

.choise-type-item img {
    margin-right: 15px;
    width: 24px;
}

.choise-type-item span {
    border-bottom: 1px solid #f0efed;
    flex-grow: 2;
    padding: 18px 0;
    position: relative;
}

.choise-type-item span::before {
    background-color: #e0e0e0;
    border-radius: 50%;
    content: '';
    height: 22px;
    position: absolute;
    right: 14px;
    top: 16px;
    width: 22px;
    z-index: 1;
}

.choise-type-item.active span::before {
    background: #1fb73a url("./img/check.svg") no-repeat center 6px;
    background-size: 11px auto;
}

/** Заказ оформлен */

.thanks-wrap {
    padding-top: 208px;
    text-align: center;
}

.thanks-wrap svg {
    margin-bottom: 10px;
    width: 64px;
}

.thanks {
    color: #5E30EB;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
}

.thanks span {
    color: #000000;
    display: block;
    font-size: 30px;
    margin-top: 42px;
}

.cross-item {
    width: 51px;
    height: 51px;
    position: fixed;
    top: 18px;
    right: 18px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 30;
}

.cross-item svg {
    width: 100%;
    height: 100%;
}

.cross-inside {
    position: fixed;
}
.undr {
    height: 1px;
    background-color: #f0efed;
    width: 100%;
    margin-left: 40px;
}

.popup-message {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

.swal2-html-container{
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.swal2-title {
    font-size: 17px;
    font-family: 'Inter', sans-serif;
}

@media (prefers-color-scheme: dark) {
    .undr {
        background-color: #363636;
    }
}